﻿using DuToanT2.Models.DomainBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuToanT2.Models
{
    public class City : EntityBase
    {
        [Required]
        [StringLength(50)]
        [Display(Name = "Tên tỉnh/thành phố")]
        public string Name { get; set; }

        public virtual ICollection<GiaThongBao> GiaThongBaos { get; set; }
    }
}
